Skip to content

chore: update regen workflow#13409

Open
JoeWang1127 wants to merge 1 commit into
googleapis:mainfrom
JoeWang1127:chore/regen-work
Open

chore: update regen workflow#13409
JoeWang1127 wants to merge 1 commit into
googleapis:mainfrom
JoeWang1127:chore/regen-work

Conversation

@JoeWang1127

Copy link
Copy Markdown
Contributor

Currently, the regeneration check workflow uses git diff --exit-code
to verify if code regeneration produced any differences. However, git diff only checks tracked files. If the regeneration process creates new
files (such as newly generated client files that were
previously excluded), they remain untracked and the check passes without
reporting a failure.

Change the check to use git status --porcelain to detect any changes
(including modifications, deletions, and untracked files).

Add instructions on how to resolve the failure.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@JoeWang1127 JoeWang1127 marked this pull request as ready for review June 10, 2026 02:06
@JoeWang1127 JoeWang1127 requested review from a team as code owners June 10, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant